package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 字段管理对象 ptf_interface_field
 * 
 * @author ruoyi
 * @date 2022-11-20
 */
public class PtfInterfaceField extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 字段ID */
    private Long fieldId;

    /** 模型ID */
    @Excel(name = "模型ID")
    private Long modelId;

    /** 字段名称 */
    @Excel(name = "字段名称")
    private String fieldNameEn;

    /** 字段中文名称 */
    @Excel(name = "字段中文名称")
    private String fieldNameCn;

    /** 类型 */
    @Excel(name = "类型")
    private String fieldType;

    /** 限制长度 */
    @Excel(name = "限制长度")
    private String lengthLimit;

    /** 格式分类 */
    @Excel(name = "格式分类")
    private String formatType;

    /** 格式说明 */
    @Excel(name = "格式说明")
    private String formatRemark;

    /** 上传字段名称 */
    @Excel(name = "上传字段名称")
    private String fieldNameUpload;

    /** 显示隐形 */
    @Excel(name = "显示隐形")
    private String displayType;

    /** 默认值 */
    @Excel(name = "默认值")
    private String deafultValue;

    /** 是否分组字段 */
    @Excel(name = "是否分组字段")
    private String groupByField;

    /** 是否主键 */
    @Excel(name = "是否主键")
    private String keyField;

    public void setFieldId(Long fieldId) 
    {
        this.fieldId = fieldId;
    }

    public Long getFieldId() 
    {
        return fieldId;
    }
    public void setModelId(Long modelId) 
    {
        this.modelId = modelId;
    }

    public Long getModelId() 
    {
        return modelId;
    }
    public void setFieldNameEn(String fieldNameEn) 
    {
        this.fieldNameEn = fieldNameEn;
    }

    public String getFieldNameEn() 
    {
        return fieldNameEn;
    }
    public void setFieldNameCn(String fieldNameCn) 
    {
        this.fieldNameCn = fieldNameCn;
    }

    public String getFieldNameCn() 
    {
        return fieldNameCn;
    }
    public void setFieldType(String fieldType) 
    {
        this.fieldType = fieldType;
    }

    public String getFieldType() 
    {
        return fieldType;
    }
    public void setLengthLimit(String lengthLimit) 
    {
        this.lengthLimit = lengthLimit;
    }

    public String getLengthLimit() 
    {
        return lengthLimit;
    }
    public void setFormatType(String formatType) 
    {
        this.formatType = formatType;
    }

    public String getFormatType() 
    {
        return formatType;
    }
    public void setFormatRemark(String formatRemark) 
    {
        this.formatRemark = formatRemark;
    }

    public String getFormatRemark() 
    {
        return formatRemark;
    }
    public void setFieldNameUpload(String fieldNameUpload) 
    {
        this.fieldNameUpload = fieldNameUpload;
    }

    public String getFieldNameUpload() 
    {
        return fieldNameUpload;
    }
    public void setDisplayType(String displayType) 
    {
        this.displayType = displayType;
    }

    public String getDisplayType() 
    {
        return displayType;
    }
    public void setDeafultValue(String deafultValue) 
    {
        this.deafultValue = deafultValue;
    }

    public String getDeafultValue() 
    {
        return deafultValue;
    }
    public void setGroupByField(String groupByField) 
    {
        this.groupByField = groupByField;
    }

    public String getGroupByField() 
    {
        return groupByField;
    }
    public void setKeyField(String keyField) 
    {
        this.keyField = keyField;
    }

    public String getKeyField() 
    {
        return keyField;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fieldId", getFieldId())
            .append("modelId", getModelId())
            .append("fieldNameEn", getFieldNameEn())
            .append("fieldNameCn", getFieldNameCn())
            .append("fieldType", getFieldType())
            .append("lengthLimit", getLengthLimit())
            .append("formatType", getFormatType())
            .append("formatRemark", getFormatRemark())
            .append("fieldNameUpload", getFieldNameUpload())
            .append("displayType", getDisplayType())
            .append("deafultValue", getDeafultValue())
            .append("groupByField", getGroupByField())
            .append("keyField", getKeyField())
            .toString();
    }
}
